import {
    request
} from "../utils/http.js"; //导入我们封装的请求方法。

// 获取用户可用椰分
export const customerYf = () => {
    return request({
        url: '/shenye/douyin/task/customer/yf',
        method: "GET"
    })
}
//查询用户抖音任务列表
export const taskList = () => {
    return request({
        url: '/shenye/douyin/task/list',
        method: "GET"
    })
}
// 关注主播领取奖励
export const acquireAnchor = (data) => {
    return request({
        url: '/shenye/douyin/task/acquire/anchor',
        method: "POST",
        data
    })
}
//神椰coin明细
export const coinList = (data) => {
    return request({
        url: '/mine/center/coin/list',
        method: "GET",
        data
    })
}
//神椰推荐
export const shenyeDouyinRecommendList = (data) => {
    return request({
        url: '/shenye/douyin/integral/exchange/config/v1/getShenyeDouyinRecommendList',
        method: "GET",
        data
    })
}